package com.ruoyi.core.domain;

import java.util.Date;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 网点列表对象 shop
 * 
 * @author lgc
 * @date 2020-08-07
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 网点ID */
    @Excel(name = "网点ID")
    private Long shopId;

    /** null */
    private Long userId;

    /** 网点名称 */
    @Excel(name = "网点名称")
    private String shopName;

    /** 地址 */
    @Excel(name = "地址")
    private String shopAddress;

    /** 电话 */
    @Excel(name = "电话")
    private String shopTel;

    /** 经度 */
    private Double mapLongitude;

    /** 纬度 */
    private Double mapLatitude;

    /** 创建人 */
    private Long createdBy;

    /** 创建时间 */
    private Date createdDate;

    /** 最后修改人 */
    @Excel(name = "最后修改人")
    private Long lastUpdatedBy;

    private String lastUpdatedName;

    /** 最后修改时间 */
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdatedDate;

    /** 是否删除:0否,1是 */
    @Excel(name = "是否删除:0否,1是")
    private Long isDeleted;

    public String getLastUpdatedName() {
        return lastUpdatedName;
    }

    public void setLastUpdatedName(String lastUpdatedName) {
        this.lastUpdatedName = lastUpdatedName;
    }

    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setShopAddress(String shopAddress) 
    {
        this.shopAddress = shopAddress;
    }

    public String getShopAddress() 
    {
        return shopAddress;
    }
    public void setShopTel(String shopTel) 
    {
        this.shopTel = shopTel;
    }

    public String getShopTel() 
    {
        return shopTel;
    }
    public void setMapLongitude(Double mapLongitude)
    {
        this.mapLongitude = mapLongitude;
    }

    public Double getMapLongitude()
    {
        return mapLongitude;
    }
    public void setMapLatitude(Double mapLatitude)
    {
        this.mapLatitude = mapLatitude;
    }

    public Double getMapLatitude()
    {
        return mapLatitude;
    }
    public void setCreatedBy(Long createdBy)
    {
        this.createdBy = createdBy;
    }

    public Long getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setLastUpdatedBy(Long lastUpdatedBy) 
    {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Long getLastUpdatedBy() 
    {
        return lastUpdatedBy;
    }
    public void setLastUpdatedDate(Date lastUpdatedDate) 
    {
        this.lastUpdatedDate = lastUpdatedDate;
    }

    public Date getLastUpdatedDate() 
    {
        return lastUpdatedDate;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("userId", getUserId())
            .append("shopName", getShopName())
            .append("shopAddress", getShopAddress())
            .append("shopTel", getShopTel())
            .append("mapLongitude", getMapLongitude())
            .append("mapLatitude", getMapLatitude())
            .append("createdBy", getCreatedBy())
            .append("createdDate", getCreatedDate())
            .append("lastUpdatedBy", getLastUpdatedBy())
            .append("lastUpdatedDate", getLastUpdatedDate())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
